package com.ddx.dao;

import com.ddx.pojo.ProvideIdea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProvideIdeaMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProvideIdea record);

    int insertSelective(ProvideIdea record);

    ProvideIdea selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProvideIdea record);

    int updateByPrimaryKey(ProvideIdea record);

    List<ProvideIdea> getList4userId(@Param(value = "userId") Integer userId);
}